package com.mall.malladminbackend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mall.malladminbackend.entity.SpuKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 2022/8/17
 * 一杯茶，一根烟，一个bug解一天
 */
@Mapper
public interface SpuKeyMapper extends BaseMapper<SpuKey> {

//   主键回填添加
    int addSpuKey(@Param("spuId") long spuId, @Param("specKey") int specKey[]);
//    删除
    int deleteSpukey(long id);


}
